// Server.h: interface for the Server class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SERVER_H__92369382_D226_4D6B_AB2E_6F7B9668B0AD__INCLUDED_)
#define AFX_SERVER_H__92369382_D226_4D6B_AB2E_6F7B9668B0AD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class Server  
{
public:
	Server();
	void OnStart(HWND hw,unsigned int port);
	void OnStop();
	virtual ~Server();
};
typedef struct tagTHREADPARAM{
	HWND	hWnd;
	int	    nPort;
	SOCKET	*pSck;

}THREADPARAM;

typedef struct tagRECVTHREAD{
	HWND hWnd;
	SOCKET sck;
}RECVTHREAD;

#endif // !defined(AFX_SERVER_H__92369382_D226_4D6B_AB2E_6F7B9668B0AD__INCLUDED_)
